#!/usr/local/bin/python3
# -*- coding:utf8 -*-
# Author Aaron 
# 2017-04-23 15:17:59
import subprocess

import RPi.GPIO as GPIO
import time

for i in range(0, 10):
    subprocess.call("irsend SEND_ONCE /etc/lirc/lircd.conf KEY_UP", shell=True)
    print("hello")
